#ifndef __BSP_MPU6050_DMP_H__
#define __BSP_MPU6050_DMP_H__
 
#include "stm32f4xx.h"
#include "stdio.h"
#include "i2c.h"
 
void gyro_data_ready_cb(void);
 
int get_tick_count(unsigned long *count);
 
uint8_t mpu_dmp_init(void);
 
uint8_t mpu_dmp_get_data(float *pitch,float *roll,float *yaw,unsigned long* sensor_timestamp);
 
int fputcc(int ch);

void I2C_DEADLOCK_Handler();

#endif
